@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="tb_user_info";
		@ var _key="id";
		@ var _col=[
		@			  {name:"所属用户", index:"user_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"所属模板", index:"template_id", type:"selectDiy",source:"Template.diy",newline:true,length:8,required:"required"},
		@			  {name:"所属占位符id", index:"template_attr_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"数值", index:"value", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"创建时间", index:"createTime", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"修改时间", index:"modifyTime", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}